﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RentAWorker.DataAccess.Entities;

namespace RentAWorker.DataAccess.Interfaces
{
    public interface ICustomerAccess
    {
        Customer GetCustomerById(int customerId);
        Customer GetCustomerByMembershipId(Guid membershipId);
        IEnumerable<Customer> GetCustomers(string searchString);
        Customer CreateCustomer(Customer newCustomer);
        void DeleteCustomer(int customerId);
        Customer UpdateCustomer(Customer customer);
    }
}
